<?php

namespace GatewayChat\controller;

use GatewayChat\Events;
use GatewayWorker\Lib\Gateway;
use Workerman\MySQL\Connection;

class Index
{
    public static function onMessage($client_id, $message, Connection $db, \Redis $redis)
    {

        Gateway::sendToClient($client_id,'连接成功');
    }
}